
<div class="view_1">
<table style="margin-top:4px; margin-bottom:1px; font-size: 14px" border="0">
	<tr height="45px">
		<td width="165"></td>
		<td colspan="4"></td>
		<td width="40"></td>
	</tr>
	<tr height="26px">
		<td colspan="4"></td>
		<td align="center" style="font-size: 17px"  width="150">#{[$result.id]}</td>
		<td></td>
	</tr>
	<tr height="26px">
		<td colspan="4"></td>
		<td align="center" style="font-size: 17px">{[$smarty.now|date_format:'%Y-%m-%d']}</td>
		<td></td>
	</tr>
	<tr height="15px">
		<td colspan="6"></td>
	</tr>
	<tr height="40px">
		<td colspan="4"></td>
		<td align="center" id="edit_emp" style="font-size: 17px">{[$result.emp_t]} [{[$result.emp]}]</td>
		<td></td>
	</tr>
	{[if $result.payment eq '2' or $result.payment eq '4']}
	<tr height="40px">
		<td></td>
		<td colspan="4" id="edit_2" style="font-size: 17px">{[$result.name]} {[$result.payment_t]} {[$result.payment_x->bank]} {[$result.payment_x->name|truncate:36:"...":true]} {[$result.payment_x->code|bank]}</td>
		<td></td>
	</tr>
	{[else]}
	<tr height="40px">
		<td></td>
		<td colspan="4" id="edit_3" style="font-size: 17px">{[$result.name]} {[$result.payment_x->name]} {[$result.payment_x->mobile]}</td>
		<td></td>
	</tr>
	{[/if]}
	<tr height="55px">
		<td colspan="6"></td>
	</tr>
	<tr height="40px">
		<td colspan="4"></td>
		<td align="center" style="font-size: 17px">{[$result.currency]} {[$result.amount|money]}</td>
		<td></td>
	</tr>
	<tr height="95px">
		<td colspan="6"></td>
	</tr>
	<tr height="30px">
		<td colspan="4"></td>
		<td align="center" valign="bottom">{[$result.oper_t]} [{[$result.oper]}]</td>
		<td></td>
	</tr>
</table>
</div>

<link type="text/css" href="inc/print.css?r={[$smarty.now]}" rel="stylesheet">
<script type="text/javascript" src="js/finance/payment/view.js?r={[$smarty.now]}"></script>
